/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * Modificar_Evento.java
 *
 * Created on 21-may-2010, 15:30:45
 */

package Interfaces;

/**
 *
 * @author Michelangelo
 */
public class Modificar_Evento extends javax.swing.JFrame {

    /** Creates new form Modificar_Evento */
    public Modificar_Evento() {
        initComponents();
        this.setTitle("Eventos");
        this.setSize(500, 400);
        this.atras.setLocation(50, 280);
        this.atras.setSize(125, 30);
        this.modificar.setLocation(320, 280);
        this.modificar.setSize(125, 30);
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jLayeredPane1 = new javax.swing.JLayeredPane();
        jScrollPane1 = new javax.swing.JScrollPane();
        descripcion = new javax.swing.JTextArea();
        lugar = new javax.swing.JTextField();
        fecha = new com.toedter.calendar.JDateChooser();
        lFecha = new javax.swing.JLabel();
        lLugar = new javax.swing.JLabel();
        lDescripcion = new javax.swing.JLabel();
        atras = new javax.swing.JButton();
        modificar = new javax.swing.JButton();
        titulo = new javax.swing.JLabel();
        jLabel1 = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

        descripcion.setColumns(20);
        descripcion.setRows(5);
        jScrollPane1.setViewportView(descripcion);

        jScrollPane1.setBounds(150, 160, 270, 90);
        jLayeredPane1.add(jScrollPane1, javax.swing.JLayeredPane.DEFAULT_LAYER);
        lugar.setBounds(150, 80, 230, -1);
        jLayeredPane1.add(lugar, javax.swing.JLayeredPane.DEFAULT_LAYER);
        fecha.setBounds(150, 120, 230, -1);
        jLayeredPane1.add(fecha, javax.swing.JLayeredPane.DEFAULT_LAYER);

        lFecha.setFont(new java.awt.Font("Tahoma", 1, 11));
        lFecha.setForeground(new java.awt.Color(255, 255, 0));
        lFecha.setText("Fecha: ");
        lFecha.setBounds(90, 120, 70, 20);
        jLayeredPane1.add(lFecha, javax.swing.JLayeredPane.DEFAULT_LAYER);

        lLugar.setFont(new java.awt.Font("Tahoma", 1, 11));
        lLugar.setForeground(new java.awt.Color(255, 255, 0));
        lLugar.setText("Lugar:");
        lLugar.setBounds(90, 80, 60, 30);
        jLayeredPane1.add(lLugar, javax.swing.JLayeredPane.DEFAULT_LAYER);

        lDescripcion.setFont(new java.awt.Font("Tahoma", 1, 11));
        lDescripcion.setForeground(new java.awt.Color(255, 255, 0));
        lDescripcion.setText("Descripcion:");
        lDescripcion.setBounds(60, 150, 80, 30);
        jLayeredPane1.add(lDescripcion, javax.swing.JLayeredPane.DEFAULT_LAYER);

        atras.setText("Atras");
        atras.setBounds(90, 340, 90, 20);
        jLayeredPane1.add(atras, javax.swing.JLayeredPane.DEFAULT_LAYER);

        modificar.setText("Modificar");
        modificar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                modificarActionPerformed(evt);
            }
        });
        modificar.setBounds(410, 337, 120, -1);
        jLayeredPane1.add(modificar, javax.swing.JLayeredPane.DEFAULT_LAYER);

        titulo.setFont(new java.awt.Font("Tahoma", 1, 24));
        titulo.setForeground(new java.awt.Color(255, 255, 0));
        titulo.setText("Evento");
        titulo.setBounds(200, 24, 150, 20);
        jLayeredPane1.add(titulo, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jLabel1.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Imagenes/estadio.png"))); // NOI18N
        jLabel1.setText("jLabel1");
        jLabel1.setBounds(0, 0, 580, 400);
        jLayeredPane1.add(jLabel1, javax.swing.JLayeredPane.DEFAULT_LAYER);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jLayeredPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 580, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jLayeredPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 396, Short.MAX_VALUE)
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void modificarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_modificarActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_modificarActionPerformed

    /**
    * @param args the command line arguments
    */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new Modificar_Evento().setVisible(true);
            }
        });
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton atras;
    private javax.swing.JTextArea descripcion;
    private com.toedter.calendar.JDateChooser fecha;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLayeredPane jLayeredPane1;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JLabel lDescripcion;
    private javax.swing.JLabel lFecha;
    private javax.swing.JLabel lLugar;
    private javax.swing.JTextField lugar;
    private javax.swing.JButton modificar;
    private javax.swing.JLabel titulo;
    // End of variables declaration//GEN-END:variables

}
